package unipi.helpers;

public class HTMLParts
{	
	public static String DOCTYPE = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
	public static String META = "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />";
	public static String TITLE = "BlueTie Projects";
	public static String CSSMOSTPAGES = getCSSLink("css/pageStyle.css") +
										getCSSLink("css/menuFunctionality.css") +
										getCSSLink("css/menuStyling.css") +
										getCSSLink("css/itemStyle.css") +
										getCSSLink("css/properties.css");
	
	public static String getHead(String title, String cssLink, String script)
	{
		return "<head><title>" + title + "</title>" + META + cssLink + script + "</head>";	
	}
	
	public static String getCSSLink(String path)
	{
		return "<link href=\"" + path + "\" rel=\"stylesheet\" type=\"text/css\" />";
	}
	
	public static String COMMONPAGEHEAD = getHead(TITLE, CSSMOSTPAGES, "") ;
	
	public static String LOGO = "<img src=\"images/logo2.png\" style=\"display:inline-block;vertical-align:middle;height:55px;margin:0px 5px 0px 5px;\" alt=\"logo2\"/><img src=\"images/logo.png\" style=\"display: inline-block;vertical-align:middle\" alt=\"logo\"/>";

	public static String MENU = "<div id=\"menu\">"+
			"<ul id=\"nav\" class=\"dropdown\">"+
			"<li class=\"level2\">Προσωπικα"+
			"<ul class=\"personal\">"+
			"<li><a href=\"Statistics\">Στατιστικα</a></li>"+
			"<li><a href=\"Profile\">Προφιλ</a></li>"+
			"<li><a href=\"Calendar?view=cal\">Ημερολογιο</a></li>"+
			"<li><a href=\"Calendar?view=his\">Ιστορικο</a></li>"+
			"<li><a href=\"ViewConversations\">Συζητήσεις</a></li>"+
			"</ul>"+
			"</li>"+
			"<li class=\"level2\">Εργασιες" +
			"<ul  class=\"tasks\">" +
			"<li><a href=\"ViewTasks\">Τρεχουσες</a></li>" +
			"<li><a href=\"ViewTasks?view=completed\">Ολοκληρωμενες</a></li>" +
			"<li><a href=\"ViewTasks?view=notstarted\">Δεν εχουν αρχισει</a></li>" +
			"<li><a href=\"ViewTasks?view=shouldstarted\">Πρεπει να αρχισουν</a></li> " +
			"<li><a href=\"ViewTasks?view=comingdue\">Επειγουσες</a></li>" +
			"<li><a href=\"ViewTasks?view=overdue\">Αργοπορημενες</a></li> " +
			"</ul>" +
			"</li>"+
			"<li class=\"level2\">Επιχειριση"+
			"<ul  class=\"bussiness\">"+
			"<li><a href=\"DptStatistics\">Στατιστικα</a></li>"+
			"<li><a href=\"Business\">Πληροφοριεσ</a></li>"+
			"<li><a href=\"ViewDpts\">Τμηματα</a></li>"+
			"<li><a href=\"ViewStaff\">Προσωπικο</a></li>"+
			"</ul>"+
			"</li>"+
			"<li class=\"level1\"><a href=\"Blog\">Iστολογιο</a></li>"+
			"<li class=\"level1\"><a href=\"Help\">Βοηθεια</a></li>"+
			"</ul>"+
			"</div>";

	public static String LOGOANDMENU = "<div id=\"content\"><div id=\"header\">" + LOGO + MENU+" </div>";

	public static String PAGESTART = "<div id=\"page\"><table id=\"content_side\"><tr><td>";

	public static String CONTENTSTART = "<div id=\"content_top\"></div>"+
			"<div id=\"content_middle\">"+
			"<div id=\"content_wrapper\">";

	public static String CONTENTEND="</div></div><div id=\"content_bottom\"></div></td><td>";

	public static String SIDESTART = "<div class=\"side_top\"></div>"+
			"<div class=\"side_middle\">"+
			"<div class=\"side_wrapper\">";

	public static String SIDEEND="</div></div><div class=\"side_bottom\"></div>";
	
	public static String PAGEEND = "</td></tr></table></div>";

	public static String FOOTER = " <div class=\"push\"></div><div id=\"footerContent\"><img src=\"images/copyright.png\"/></div></div>";
	
}
